﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="autoData.aspx.cs" Inherits="AutoInsurance.autoData" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <asp:Label ID="Label1" runat="server" Text="Данные автомобиля"></asp:Label>
    <asp:GridView ID="GridView1" runat="server" 
        onselectedindexchanged="GridView1_SelectedIndexChanged" DataKeyNames="vin_code" AutoGenerateColumns="False" >
                <Columns>
            <asp:CommandField ShowSelectButton="True" ButtonType="Button" SelectText="Подробнее" />
                            <asp:BoundField DataField="vin_code" HeaderText="VIN-код" SortExpression="vin_code" />
                <asp:BoundField DataField="mark" HeaderText="Марка" 
                    SortExpression="mark" />
                <asp:BoundField DataField="model" HeaderText="Модель" 
                    SortExpression="model" />
                <asp:BoundField DataField="power" HeaderText="Мощность" SortExpression="power" />
      </Columns> 
    </asp:GridView>
</asp:Content>
